home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
DJLSR111.ZIP
/
libsrc
/
c
/
dos
/
fnmerge.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-04
|
370b
|
15 lines
/* fnmerge.c replacement for Borland version pjbk */
#include <dir.h>
#include <string.h>
void fnmerge (char *path, const char *drive, const char *dir,
const char *name, const char *ext)
{
*path = '\0';
if ( drive) strcat ( path, drive);
if ( dir) strcat ( path, dir);
if ( name) strcat ( path, name);
if ( ext) strcat ( path, ext);
}